import Vue from 'vue'
import Router from 'vue-router'
import Home from '../components/Home.vue'

Vue.use(Router)

export default new Router({
  mode:'history',   //配置不显示路径上的# 默认是hash模式子啊url路径上会显示#号
  routes: [
    {
      path: '/',
      name:"Home",
      component: Home,
    },
        {
      path: '/home',
      name:"Home",
      component: Home,
    },
  ]
})
